#include "header.h"
using namespace std;

ofstream debugfile;

void init()
{
  debugfile.open("debug.txt");
  srand(time(0));
}

void deinit()
{
  debugfile.close();
}

game world;

int main(int argc, char *argv[])
{
  init();
  for (int counter=0;counter<1000;counter++)
  {
  for (int n=0;n<10;n++)
  {
      debugint("---------------------------------new board-----------------------------------", n);
      debugint("counter loop #", counter);
    world.maps[n].make();
    world.maps[n].draw();
    system("PAUSE > nul");	
    system("cls");
  }
  }
  deinit();
  return 0;
}


